package org.suwenqian.audiovideosummary.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskVersion {
    /**
     * 版本ID
     */
    private Long id;

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 重新生成次数
     */
    private Integer versionNo;

    /**
     * LLM参数{model,lang,prompt}
     */
    private String paramsJson;

    /**
     * 状态(1:running, 2:success, 3:failed)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}
